import Layout from '@/views/layout/Layout'

const distributorRouter = {
  path: '/payment',
  component: Layout,
  redirect: '/table/complex-table',
  name: '分销商管理',
  meta: {
    title: '分销商管理',
    icon: 'table',
    roles:['admin','finance']
  },
  children: [
    {
      path: 'distributor',
      component: () => import('@/views/distributor/index'),
      name: '分销商管理',
      meta: { title: '分销商管理' }
    }
  ]
}
export default distributorRouter
